﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200025D RID: 605
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueMiracleInfo : IMessage<ChessRogueMiracleInfo>, IMessage, IEquatable<ChessRogueMiracleInfo>, IDeepCloneable<ChessRogueMiracleInfo>, IBufferMessage
	{
		// Token: 0x17000803 RID: 2051
		// (get) Token: 0x06001B57 RID: 6999 RVA: 0x0004EEB1 File Offset: 0x0004D0B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueMiracleInfo> Parser
		{
			get
			{
				return ChessRogueMiracleInfo._parser;
			}
		}

		// Token: 0x17000804 RID: 2052
		// (get) Token: 0x06001B58 RID: 7000 RVA: 0x0004EEB8 File Offset: 0x0004D0B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueMiracleInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000805 RID: 2053
		// (get) Token: 0x06001B59 RID: 7001 RVA: 0x0004EECA File Offset: 0x0004D0CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueMiracleInfo.Descriptor;
			}
		}

		// Token: 0x06001B5A RID: 7002 RVA: 0x0004EED1 File Offset: 0x0004D0D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracleInfo()
		{
		}

		// Token: 0x06001B5B RID: 7003 RVA: 0x0004EED9 File Offset: 0x0004D0D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracleInfo(ChessRogueMiracleInfo other) : this()
		{
			this.chessRogueMiracleInfo_ = ((other.chessRogueMiracleInfo_ != null) ? other.chessRogueMiracleInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001B5C RID: 7004 RVA: 0x0004EF0E File Offset: 0x0004D10E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracleInfo Clone()
		{
			return new ChessRogueMiracleInfo(this);
		}

		// Token: 0x17000806 RID: 2054
		// (get) Token: 0x06001B5D RID: 7005 RVA: 0x0004EF16 File Offset: 0x0004D116
		// (set) Token: 0x06001B5E RID: 7006 RVA: 0x0004EF1E File Offset: 0x0004D11E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracle ChessRogueMiracleInfo_
		{
			get
			{
				return this.chessRogueMiracleInfo_;
			}
			set
			{
				this.chessRogueMiracleInfo_ = value;
			}
		}

		// Token: 0x06001B5F RID: 7007 RVA: 0x0004EF27 File Offset: 0x0004D127
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueMiracleInfo);
		}

		// Token: 0x06001B60 RID: 7008 RVA: 0x0004EF35 File Offset: 0x0004D135
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueMiracleInfo other)
		{
			return other != null && (other == this || (object.Equals(this.ChessRogueMiracleInfo_, other.ChessRogueMiracleInfo_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001B61 RID: 7009 RVA: 0x0004EF68 File Offset: 0x0004D168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.chessRogueMiracleInfo_ != null)
			{
				num ^= this.ChessRogueMiracleInfo_.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001B62 RID: 7010 RVA: 0x0004EFA4 File Offset: 0x0004D1A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001B63 RID: 7011 RVA: 0x0004EFAC File Offset: 0x0004D1AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001B64 RID: 7012 RVA: 0x0004EFB5 File Offset: 0x0004D1B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.chessRogueMiracleInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.ChessRogueMiracleInfo_);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001B65 RID: 7013 RVA: 0x0004EFE8 File Offset: 0x0004D1E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.chessRogueMiracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ChessRogueMiracleInfo_);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001B66 RID: 7014 RVA: 0x0004F028 File Offset: 0x0004D228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueMiracleInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.chessRogueMiracleInfo_ != null)
			{
				if (this.chessRogueMiracleInfo_ == null)
				{
					this.ChessRogueMiracleInfo_ = new ChessRogueMiracle();
				}
				this.ChessRogueMiracleInfo_.MergeFrom(other.ChessRogueMiracleInfo_);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001B67 RID: 7015 RVA: 0x0004F07C File Offset: 0x0004D27C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001B68 RID: 7016 RVA: 0x0004F088 File Offset: 0x0004D288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.chessRogueMiracleInfo_ == null)
					{
						this.ChessRogueMiracleInfo_ = new ChessRogueMiracle();
					}
					input.ReadMessage(this.ChessRogueMiracleInfo_);
				}
			}
		}

		// Token: 0x04000B75 RID: 2933
		private static readonly MessageParser<ChessRogueMiracleInfo> _parser = new MessageParser<ChessRogueMiracleInfo>(() => new ChessRogueMiracleInfo());

		// Token: 0x04000B76 RID: 2934
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000B77 RID: 2935
		public const int ChessRogueMiracleInfo_FieldNumber = 13;

		// Token: 0x04000B78 RID: 2936
		private ChessRogueMiracle chessRogueMiracleInfo_;
	}
}
